package cn.iocoder.yudao.module.api.brokerage.user.message;

import cn.iocoder.yudao.module.api.member.user.message.MemberUserInviteMessage;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 推广关系绑定消息，用于拉人分佣
 *
 * @author 山野羡民
 * @see MemberUserInviteMessage
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BrokerageUserBindMessage {

    @NotNull(message = "用户编号不能为空")
    private Long userId;

    @NotNull(message = "上级用户编号不能为空")
    private Long fatherUserId;

}
